package com.ruiqiang.init.demo.service.impl;

import com.ruiqiang.init.demo.domain.Student;
import com.ruiqiang.init.demo.mapper.StudentMapper;
import com.ruiqiang.init.demo.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    private StudentMapper studentMapper;

    @Override
    public Student selectById(long id) {
        return studentMapper.selectById(id);
    }
}
